#include <iostream>

using namespace std;

int main(int argc, char const *argv[])
{
    char a = 'a';

    cout << "请输入一个字符" <<endl;

    cin >> a;
    if(a >= 49 && a <= 57)
    {
        cout << "您输入的字符为数字"<<endl;
    }
    else if(a >= 65 && a <= 90)
    {
        cout << "您输入的字符为大写字母"<<endl;
    }
    else if(a >= 97 && a <= 122)
    {
        cout <<"您输入的字符为小写字母" <<endl;
    }
    else
    cout <<"您输入的字符为其他字符"<<endl;
    return 0;
}
